set title "Figure 8, Wait RED vs. General RED" 
set ylabel "Throughput (%)"
set xlabel "Average Queue"
#set xrange [0:50]
set yrange [0:1]
unset label

#plot "figure1_drop.dat" using 1:2 title 'DropTail' with linespoints, "figure1_red.dat" using 1:2 title 'RED' with linespoints
plot "figure_on.dat" using 1:2 title 'Wait RED' , "figure_off.dat" using 1:2 title 'General RED'

set output "figure8.jpg"
set terminal jpeg

replot
